<div class="container">
	<div class="content">
		<form method="post" action="/session/inscription" class="form-stacked well" style="margin: 0px auto; width: 300px;">
			<h1>Inscription</h1><br/>
			<?php if (isset($error_login)){ ?>
			<div class="clearfix error">
			<?php	} else { ?>
			<div class="clearfix">
			<?php } ?>
				<label>Identifiant : </label>
				<div class="input">
					<?php if (isset($prev_login)) { ?>
					<input class="span5" type="text" name="login" value="<?php echo $prev_login; ?>"/>
					<?php } else { ?>
					<input class="span5" type="text" name="login"/>
					<?php } ?>
					<?php if (isset($error_login)){ ?>
					<span class="help-inline"><?php echo $error_login; ?></span>
					<?php } ?>
				</div>
			</div>
			<?php if (isset($error_password)){ ?>
			<div class="clearfix error">
			<?php	} else { ?>
			<div class="clearfix">
			<?php } ?>
				<label>Mot de passe : </label>
				<div class="input">
					<?php if (isset($prev_password)) { ?>
					<input class="span5" type="password" name="password" value="<?php echo $prev_password; ?>"/><br/>
					<?php } else { ?>
					<input class="span5" type="password" name="password"/><br/>
					<?php } ?>
					<?php if (isset($error_password)){ ?>
					<span class="help-inline"><?php echo $error_password; ?></span>
					<?php } ?>
				</div>
			</div>
			<?php if (isset($error_password_confirm)){ ?>
			<div class="clearfix error">
			<?php	} else { ?>
			<div class="clearfix">
			<?php } ?>
				<label>Mot de passe confirmation: </label>
				<div class="input">
					<?php if (isset($prev_password_confirm)) { ?>
					<input class="span5" type="password" name="password_confirm" value="<?php echo $prev_password_confirm; ?>"/><br/>
					<?php } else { ?>
					<input class="span5" type="password" name="password_confirm"/><br/>
					<?php } ?>
					<?php if (isset($error_password_confirm)){ ?>
					<span class="help-inline"><?php echo $error_password_confirm; ?></span>
					<?php } ?>
				</div>
			</div>
			<?php if (isset($error_email)){ ?>
			<div class="clearfix error">
			<?php	} else { ?>
			<div class="clearfix">
			<?php } ?>
				<label>Email: </label>
				<div class="input">
					<?php if (isset($prev_email)) { ?>
					<input class="span5" type="text" name="email" value="<?php echo $prev_email; ?>"/>
					<?php } else { ?>
					<input class="span5" type="text" name="email"/>
					<?php } ?>
					<?php if (isset($error_email)){ ?>
						<span class="help-inline"><?php echo $error_email; ?></span>
					<?php } ?>
				</div>
			</div>
			<div class="actions" style="text-align: center; margin-top: 40px; margin-bottom: 0px;">
				<button type="submit" class="btn info">Créer mon compte.</button>
			</div>
		</form>
	</div>
</div>
